package com.example.xdzx.mapper;

import com.example.xdzx.pojo.LostItems;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

@Mapper
public interface ItemsMapper {
    public ArrayList<LostItems> getAll();
    public ArrayList<LostItems> getReleaseById(Long userId);
    public void addRelease(Long userId,String userName, String capsuleGoods, String capsuleAddr, String type,String imageUrl,String userPic);

    List<LostItems> getLostList(@Param("dto") LostItems lostItems);
}
